<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>个人中心_欢迎你</title>
<script type="text/javascript" src="../js/jquery-3.3.1.min.js"></script>
<link href="../css/aaa.css" rel="Stylesheet" />
<script src="../js/aaa.js"></script>
</head>
<body>
	<div class="s_nav">
		<div class="s_nav_box">
			<a class="s_logo photo" href="../index.html"></a>
			<nav class="s_nav_menu">
				<a class="default active" href="/">首页</a> <a class="album"
                                                             href="album.html">摄影</a> <a class="video" href="/video">视频</a> <a
					class="topic" href="/topic">问答</a> <a class="word" href="/word">文章</a>
				<a class="activity" href="/game">活动</a> <a class="gou"
					href="han_shopmall.html">商城</a>
			</nav>
			<div class="def_search  header_user">

				<div class="user">
					<img class="head"
						src="https://pic.hanfugou.com/web/2018/11/20/11/2e3e6efa17ba4116941bd3d176ddc8df.jpeg_50x50.jpg">
					<nav class="dropdown_menu">
						<a class="item letter" href="password.html" target="im"> <i
								class="icon"></i>修改密码
						</a> <a class="item auth" href="userdata.html"> <i class="icon"></i>个人资料
					</a> <a href="upload.html" id="aUMain" class="item usermain"> <i
							class="icon"></i>上传头像
					</a> <a class="item tools" href="address.html"> <i class="icon"></i>收货管理
					</a> <a class="item exit" href="login.html"><i class="icon"></i>退出
					</a>
					</nav>
				</div>
				<a href="cart.html">购物车<span class="messcount"></span>
				</a>

				<div class="appdown">
					APP下载
					<div class="appdownload">
						<div class="appdownload_btn">
							<a class="ios"
								href="https://itunes.apple.com/cn/app/id1065807878"
								target="_blank">iPhone下载</a> <a class="android"
								href="https://www.hanfuhui.cn/download" target="_blank">Android下载</a>
						</div>
						<img src="../image/2e3e6efa17ba4116941bd3d176ddc8df.jpeg_100x100.jpg" alt="">
					</div>
				</div>
				<a class="search_btn" onclick="location.href='/search'"></a>
			</div>
		</div>
	</div>
	<div id="mainer">
		<div class="sm_def_left">
			<div class="u_trend_left">
				<div class="u_send_ins_float">
					<div class="u_send_ins_signin">
						<p class="button fcen">
							<a class="btn_null btn_signin" onclick="inssignin(this)"><i></i>签到</a>

						</p>
						<div class="ml30">
							<p class="mb5 f14 mb5">11月20日</p>
							<p class="font_gray f12">
								连续签到 <i class="font_red temp_sign_conn"> 0</i> 天
							</p>
							<p class="font_gray f12">
								今日第 <i class="font_blue temp_sign_order"> 0</i> 个签到
							</p>
						</div>
						<i class="line"></i>
						<p class="button fcen">

							<a class="btn_photo btn_red" href="/send/album"> <i></i>发摄影
							</a> <a class="btn_video btn_red" href="/send/video"> <i></i>发视频
							</a> <a class="btn_word btn_red" href="/send/word" target="_blank">
								<i></i>发文章
							</a>
						</p>
						<div class="signin_panal shadow">
							<i class="arrow_top"></i>
							<div class="left">
								<div class="title">
									<a class="arrow_left"
										onclick="loadsignin('2018/10/20 20:29:17')"></a><span
										class="date">2018年11月</span>
								</div>
								<table class="signin_panal_list">
									<thead>
										<tr>
											<td>日</td>
											<td>一</td>
											<td>二</td>
											<td>三</td>
											<td>四</td>
											<td>五</td>
											<td>六</td>
										</tr>
									</thead>
									<tbody>
										<tr>
											<td>&nbsp;</td>
											<td>&nbsp;</td>
											<td>&nbsp;</td>
											<td>&nbsp;</td>
											<td>1</td>
											<td>2</td>
											<td>3</td>
										</tr>
										<tr>
											<td>4</td>
											<td>5</td>
											<td>6</td>
											<td>7</td>
											<td>8</td>
											<td>9</td>
											<td>10</td>
										</tr>
										<tr>
											<td>11</td>
											<td>12</td>
											<td>13</td>
											<td>14</td>
											<td>15</td>
											<td>16</td>
											<td>17</td>
										</tr>
										<tr>
											<td>18</td>
											<td>19</td>
											<td>20</td>
											<td>21</td>
											<td>22</td>
											<td>23</td>
											<td>24</td>
										</tr>
										<tr>
											<td>25</td>
											<td>26</td>
											<td>27</td>
											<td>28</td>
											<td>29</td>
											<td>30</td>
											<td>&nbsp;</td>
										</tr>
									</tbody>
								</table>
							</div>
							<div class="right">
								<p class="mb20 f16">11 月 20 日</p>
								<p class="font_gray mb5">
									连续签到 <i class="font_red">0</i> 天
								</p>
								<p class="font_gray mb5">
									今日第 <i class="font_blue">0</i> 个签到
								</p>
								<p class="font_gray mb5 b_g_t">共签到天数： 0</p>
								<p class="font_gray mb5">共漏签天数：0</p>
								<p class="mt10 font_red">授予您最萌全勤奖→_→</p>
							</div>
						</div>
					</div>
					<div class="">

						<div class="u_send_ins_nav">
							<a href="userdata.html">个人管理</a>
							<a href="/u/743303479/photo#navindex">我的摄影</a><a
								href="/u/743303479/word#navindex">我的文章</a><a
								href="/u/743303479/people/fans#navindex">我的粉丝</a><a
								href="/u/743303479/people/atte#navindex">我的关注</a><a href="/save">我的收藏</a>
						</div>
					</div>
				</div>
			</div>
			<div class="u_trend_right">


				<div class="u_trend_send_box">
					<div class="u_send_ins_trend">
						<textarea class="txt_trend_con"></textarea>
						<div class="footer">
							<button class="add_face" onmousedown="return false"
								onclick="addface(this,'.txt_trend_con')" data-face="1">表情</button>
							<button class="add_pic js_uploadpic">
								<div class="btn_file"></div>
								图片
							</button>
							<input type="button" class="btn_red p6 fr"
								onclick="sendtrend(this)" value="发表">
						</div>

						<div class="ml20 mt10 pb20">
							<div class="pub_add_huiba">

								<div class="pub_add_huiba">
									<a onclick="openhuiba()" class="js_huiba">选择荟吧</a>
								</div>
								<div class="huiba_sel mt20" style="display: none;">
									<div class="search">
										<input type="text" class="txt_huiba" placeholder="搜索荟吧">
										<input type="button" class="btn_blue" onclick="inshuiba()"
											value="新增">
									</div>
									<ul class="js_huibalist">
										<li data-name="汉服日常"><img
											src="https://pic.hanfugou.com/pc/2017/8/17/21/f30d74b3f3b64b7fa769cf556882e853.jpg_100x100.jpg">
											<div class="name">
												<p class="weight">汉服日常</p>
												<p class="f12 font_gray mt5">关注 13301 内容 11417</p>
											</div></li>
										<li data-name="萌物安利"><img
											src="https://pic.hanfugou.com/pc/2018/1/4/19/a288946ead0943438a8c42eef108068e.jpg_100x100.jpg">
											<div class="name">
												<p class="weight">萌物安利</p>
												<p class="f12 font_gray mt5">关注 14856 内容 7364</p>
											</div></li>
										<li data-name="商品问询"><img
											src="https://pic.hanfugou.com/pc/2018/1/5/17/ece9451d38b44c5595bc9e16f40641b5.jpg_100x100.jpg">
											<div class="name">
												<p class="weight">商品问询</p>
												<p class="f12 font_gray mt5">关注 10351 内容 3943</p>
											</div></li>
										<li data-name="汉服穿搭"><img
											src="https://pic.hanfugou.com/pc/2017/8/31/17/e18b97f3bf0145c193fea6d2ad33d64f.jpg_100x100.jpg">
											<div class="name">
												<p class="weight">汉服穿搭</p>
												<p class="f12 font_gray mt5">关注 17205 内容 2039</p>
											</div></li>
										<li data-name="汉服设计"><img
											src="https://pic.hanfugou.com/pc/2018/1/12/13/e0d3fc9375e341cf8c49700e8e112e17.jpg_100x100.jpg">
											<div class="name">
												<p class="weight">汉服设计</p>
												<p class="f12 font_gray mt5">关注 14119 内容 1594</p>
											</div></li>
										<li data-name="发型妆容"><img
											src="https://pic.hanfugou.com/pc/2018/1/4/19/f726e770fd3345379da28be281e1cf6c.png_100x100.jpg">
											<div class="name">
												<p class="weight">发型妆容</p>
												<p class="f12 font_gray mt5">关注 20282 内容 1452</p>
											</div></li>
										<li data-name="汉服前汉服后"><img
											src="https://pic.hanfugou.com/pc/2018/7/6/23/81d52bf7d5ec4d959b8f6c7691821826.jpg_100x100.jpg">
											<div class="name">
												<p class="weight">汉服前汉服后</p>
												<p class="f12 font_gray mt5">关注 526 内容 1201</p>
											</div></li>
										<li data-name="汉服文化周"><img
											src="https://pic.hanfugou.com/pc/2018/10/19/20/7d60c5e412cf4a1ca174f7217af6b3e4.jpg_100x100.jpg">
											<div class="name">
												<p class="weight">汉服文化周</p>
												<p class="f12 font_gray mt5">关注 1240 内容 1174</p>
											</div></li>
										<li data-name="山寨鉴定"><img
											src="https://pic.hanfugou.com/pc/2018/9/6/6/e302811d586e482f862260c0dab885c3.jpg_100x100.jpg">
											<div class="name">
												<p class="weight">山寨鉴定</p>
												<p class="f12 font_gray mt5">关注 1679 内容 826</p>
											</div></li>
										<li data-name="活动雅集"><img
											src="https://pic.hanfugou.com/pc/2018/1/5/19/b7477bcc363a41e5b482c5e8921a8ff4.jpg_100x100.jpg">
											<div class="name">
												<p class="weight">活动雅集</p>
												<p class="f12 font_gray mt5">关注 2202 内容 473</p>
											</div></li>
									</ul>
								</div>
								<script type="text/javascript">
									$(function() {
										//选择荟吧公用类
										huibabase("trend");
									});
									//选择荟吧公用类
									function huibabase(objecttype) {
										loadHuiba(objecttype);
										$(".txt_huiba").keyup(function(e) {
											loadHuiba(objecttype);
										});
										$(document).on(
												"click",
												".js_huibalist li",
												function() {
													selhuiba($(this).attr(
															"data-name"));
												});
									}
									//打开荟吧
									function openhuiba() {
										if ($(".huiba_sel").is(":visible"))
											$(".huiba_sel").hide();
										else {
											$(".huiba_sel").hide();
											$(".huiba_sel").show();
										}
									}
									//加载荟吧
									function loadHuiba(objecttype) {
										var keyword = $(".txt_huiba").val();
										$.ajax({
											type : "get",
											async : true,
											url : "/comm/huiba.ashx",
											data : {
												action : "LoadHuibaHot",
												keyword : keyword,
												objecttype : objecttype
											},
											success : function(data) {
												$(".js_huibalist").html(data);
											}
										});
									}
									//插入荟吧
									function inshuiba() {
										var name = $(".txt_huiba").val();
										if (name != null && name != "") {
											selhuiba(name)
										}
									}

									//将值添加到位置【荟吧】
									function selhuiba(name) {
										$(".js_huiba").html(name);
										$(".js_huiba").attr("data-huiba", name);
										if (!$(".js_huiba").hasClass("active"))
											$(".js_huiba").addClass("active");
										$(".huiba_sel").hide();
									}
								</script>

							</div>
						</div>

					</div>
					<div class="pic_list">
						<ul id="fileQueue">
						</ul>
					</div>
				</div>
				<input type="hidden" class="hd_trendcount" value="9"> <input
					name="ctl00$ContentPlaceHolder1$SendTrend$hdTopicID" type="hidden"
					id="ContentPlaceHolder1_SendTrend_hdTopicID" class="hd_topicid">
				<script type="text/javascript">
					var upload_state = 0;
					var max_imgcount = 0;
					$(function() {
						max_imgcount = $(".hd_trendcount").val();

						uploadimages(
								".js_uploadpic",
								function(count, index) {
									//选择图片后
									//选择图片后
									if ($("#fileQueue li").length + count > max_imgcount) {
										$
												.alert(
														"最多只能选择"
																+ max_imgcount
																+ "张图片，还可以选择"
																+ (max_imgcount - $("#fileQueue li").length)
																+ "张", "warn");
										return false;
									}
									for (var i = 0; i < count; i++) {
										$("#fileQueue")
												.append(
														'<li id="uploadify'
																+ (index + i)
																+ '"><div class="uploadifyQueueItem"><span class="percentage">0%</span><div class="uploadifyProgress"><div class="uploadifyProgressBar"></div></div><i class="delete" data-fileid=""></i></div></li>');
									}
									picboxshow();
									upload_state = 1;
									return true;
								},
								function(index, percent) {
									//单个图片上传进度
									$("#uploadify" + index).find(
											".uploadifyProgressBar").css(
											"width", percent + "%");
									$("#uploadify" + index).find(".percentage")
											.html(percent + "%");
								},
								function(index, data) {
									//单个图片上传完成
									$("#uploadify" + index)
											.find(".uploadifyQueueItem")
											.html(
													'<img class="over_pic" src="' + data.url + '_200x200.jpg" data-url="' + data.url + '" data-width="' + data.image_width + '" data-height="' + data.image_height + '" data-size="' + data.file_size + '"><i class="delete"></i>');
									$(".img_sel_count").html(
											$("#fileQueue li").length);
								}, function() {
									//所有图片上传完成
									upload_state = 0;
								});

						//删除图片
						$(document).on("click", "#fileQueue .delete",
								function() {
									var this_0 = this;
									$.confirm("确定删除？", function() {
										$(this_0).closest("li").remove();
										picboxshow();
									});
								});
					});
					//发表动态
					function sendtrend(dom) {
						var topicname = $(".hd_topicname").val();
						var content = $.trim($(".txt_trend_con").val());
						var topicid = $(".hd_topicid").val();
						var huiba = null;
						var imgjson = "";

						if (upload_state == 1) {
							$.alert("请等待图片上传完成", "warn");
							return;
						}

						if ($(".js_huiba").length > 0)
							huiba = $(".js_huiba").attr("data-huiba");

						if (content == null || content == ""
								|| content == topicname) {
							$.alert("内容不能为空", "warn");
							return;
						}
						if ($(".uploadifyQueueItem").find(".percentage").length > 0) {
							$.alert("请等待图片上传完成", "warn");
							return;
						}

						//图片列表
						var imglist = $(".pic_list .over_pic");
						if (imglist.length > 0) {
							for (var i = 0; i < imglist.length; i++) {
								imgjson += "{\"imgsrc\":\""
										+ $(imglist[i]).attr("data-url")
										+ "\",";
								imgjson += "\"width\":\""
										+ $(imglist[i]).attr("data-width")
										+ "\",";
								imgjson += "\"height\":\""
										+ $(imglist[i]).attr("data-height")
										+ "\",";
								imgjson += "\"size\":\""
										+ $(imglist[i]).attr("data-size")
										+ "\"";
								imgjson += "},";
							}
							imgjson = "["
									+ imgjson.substr(0, imgjson
											.lastIndexOf(',')) + "]";
						}

						btndis($(dom), "正在发表");
						$.post("/Comm/trend.ashx", {
							action : "SendTrend",
							content : content,
							huiba : huiba,
							topicid : topicid,
							imgjson : imgjson
						}, function(data) {
							if (data == "0") {
								$.alert("发表成功", "right");
								$(".txt_trend_con").val(topicname);
								$(".pic_list").empty().hide();
								$(".video_add_box").hide();
								pageindex = 1;
								beginLoadTrend();
							} else if (data == "1")
								showLogin();
							else
								$.alert(data, "error");
							btnopen($(dom), "发表");
						});
					}

					//插入问答
					function addtopic() {
						if ($(".topic_add_box").is(":visible"))
							$(".topic_add_box").hide();
						else {
							$(".topic_add_box").show();
							$(".video_add_box").hide();
							addtopiclist();
						}
					}

					//图片面板显示隐藏
					function picboxshow() {
						if ($("#fileQueue li").length > 0)
							$(".pic_list").show();
						else
							$(".pic_list").hide();
					}

					//加载插入推荐列表
					function addtopiclist() {
						$.ajax({
							type : "post",
							url : "/Comm/trend.ashx",
							data : {
								action : "LoadInsTopic"
							},
							async : true,
							beforeSend : function() {
								loading($(".topic_add_box .list"));
							},
							success : function(data) {
								if (data != null && data != "") {
									$(".topic_add_box .list").html(data);
									$(".topic_add_box .list li a").click(
											function() {
												innerCon($(".txt_trend_con"),
														$(this).html());
												$(".topic_add_box").hide();
											});
								} else {
									innerCon($(".txt_trend_con"), "#这里是问答名称#");
									$(".topic_add_box").hide();
								}
							}
						});
					}
				</script>

				<div class="u_trend">

					<div class="u_trend_list_box">
						<p class="title trend_type_selected">
							<a data-type="atte">关注</a><a data-type="hot">热门</a><a
								data-type="all" class="active">广场</a> <i
								class="rightf5 trend_fresh"></i>
						</p>
						<!-- 留言内容 -->
					</div>
				</div>
			</div>

		</div>
		<div class="sm_def_right">
			<div class="u_userinfo">
				<img
					src="../image/dage001.jpg_280x100.jpg"
					id="ContentPlaceHolder1_imgBg" class="bg">
				<div class="data">
					<a href="/uid/343194"><img
						src="../image/2e3e6efa17ba4116941bd3d176ddc8df.jpeg_100x100.jpg"
						class="face" alt=""></a>
					<p class="f16">
						JungKing<i class="g_man"></i>
					</p>
					<p class="font_gray f12 mt10">
						<span class="sum"><strong class="font_red f16 db">
								8888</strong>人气</span><span class="sum"><strong class="font_red f16 db">520</strong>粉丝</span><span
							class="sum"><strong class="font_red f16 db">9999</strong>汉币</span>
					</p>
				</div>
			</div>
			<div class="sm_def_album_box">
				<div class="banner">
					<div id="img_scroll" class="sm_def_album"
						style="position: relative;">
						<ul
							style="position: absolute; top: 0px; left: 0px; width: 2240px; height: 240px;">
							<li><a href="/album/77916" target="_blank"><img
									src="https://pic.hanfugou.com/ios/2018/11/3/22/22/154125492003541.jpg_300x300.jpg/format/webp"
									width="280" height="240"><i>『醉金秋』by 柳腰轻</i></a></li>
							<li><a href="/album/77905" target="_blank"><img
									src="https://pic.hanfugou.com/ios/2018/11/3/9/36/154120897960246.jpg_300x300.jpg/format/webp"
									width="280" height="240"></a><i>『宫』by 慢想想</i></li>
							<li><a href="/album/77903" target="_blank"><img
									src="https://pic.hanfugou.com/android/2018/10/3/78e872376d34474a9768ba04e6dbb609.jpg_300x300.jpg/format/webp"
									width="280" height="240"></a><i>『彼岸相思』by 白露（江沪浙约拍）</i></li>
							<li><a href="/album/77901" target="_blank"><img
									src="https://pic.hanfugou.com/ios/2018/11/2/22/22/154116853943981.jpg_300x300.jpg/format/webp"
									width="280" height="240"></a><i>『花妖』by 阿惑</i></li>
							<li><a href="/album/77870" target="_blank"><img
									src="https://pic.hanfugou.com/android/2018/10/1/70b6047134004f04b0732fd8d40d0916.jpg_300x300.jpg/format/webp"
									width="280" height="240"></a><i>『满江红』by 独立摄影师桃缇</i></li>
							<li><a href="/album/77867" target="_blank"><img
									src="https://pic.hanfugou.com/android/2018/9/31/cb7f6f21b7f3450c8b584661d581644f.jpg_300x300.jpg/format/webp"
									width="280" height="240"></a><i>『青青子衿』by 小扇子</i></li>
							<li><a href="/album/77866" target="_blank"><img
									src="https://pic.hanfugou.com/android/2018/9/31/4df710e3a0c9401a856c0a2aea19419c.jpg_300x300.jpg/format/webp"
									width="280" height="240"></a><i>『愿你做自己的太阳』by 徐迟朝</i></li>
							<li><a href="/album/77853" target="_blank"><img
									src="https://pic.hanfugou.com/web/2018/10/31/17/0bf44ef6fb9e4484abf9f05bc81d6b8b.jpeg_300x300.jpg/format/webp"
									width="280" height="240"></a><i>『《青溪』by 辰风学长—福建约拍</i></li>
						</ul>
						<div>
							<span class="curr"></span><span class=""></span><span class=""></span><span
								class=""></span><span class=""></span><span class=""></span><span
								class=""></span><span class=""></span>
						</div>
						<div id="goback" class="o-control" style="display: none;">
							<a class="control"></a>
						</div>
						<div id="forward" class="o-control" style="display: none;">
							<a class="control"></a>
						</div>
					</div>
				</div>
			</div>

		</div>
	</div>
</body>
</html>